﻿<?xml version="1.0" encoding="UTF-8"?>
<modification application="Heroes of Newerth" appversion="*" mmversion="1.3" name="Quit on click" version="3.0.3.85" description="Removes the confirm quit dialog from the system bar. Also removes the confirm disconnect dialog (when not risking to get leaver status)." author="Mertsch" weblink="http://forums.heroesofnewerth.com/showthread.php?51523" updatecheckurl="http://dl.dropbox.com/u/4847480/QuitOnClick/Version.txt" updatedownloadurl="http://dl.dropbox.com/u/4847480/QuitOnClick/QuitOnClick.honmod">
  <incompatibility name="QuickDisconnect" version="*" />
  <editfile name="ui/confirmations.interface">
    <!-- Remove disconnect confirm -->
    <find><![CDATA[<template name="disconnect_confirm">]]></find>
    <insert position="after"><![CDATA[<!--]]></insert>
    <find><![CDATA[</template>]]></find>
    <insert position="before"><![CDATA[-->
		<panel name="disconnect_confirm" visible="0" onshow="Disconnect(); SetVisible(0);"/>
	]]></insert>
    <!-- Remove quit confirm -->
    <find><![CDATA[<template name="quit_confirm">]]></find>
    <insert position="after"><![CDATA[<!--]]></insert>
    <find><![CDATA[</template>]]></find>
    <insert position="before"><![CDATA[-->
		<panel name="quit_confirm" visible="0" onshow="Quit();"/>
	]]></insert>
    <!-- Remove disband confirm -->
    <find><![CDATA[<template name="disband_confirm">]]></find>
    <insert position="after"><![CDATA[<!--]]></insert>
    <find><![CDATA[</template>]]></find>
    <insert position="before"><![CDATA[-->
		<panel name="disband_confirm" visible="0" onshow="Disconnect(); SetVisible(0);"/>
	]]></insert>
  </editfile>
</modification>